Optimal. Leaf size=109 \[ \frac {i e^{i a} x^{m+1} \left (-i b x^n\right )^{-\frac {m+1}{n}} \Gamma \left (\frac {m+1}{n},-i b x^n\right )}{2 n}-\frac {i e^{-i a} x^{m+1} \left (i b x^n\right )^{-\frac {m+1}{n}} \Gamma \left (\frac {m+1}{n},i b x^n\right )}{2 n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 109, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3423, 2218} \[ \frac {i e^{i a} x^{m+1} \left (-i b x^n\right )^{-\frac {m+1}{n}} \text {Gamma}\left (\frac {m+1}{n},-i b x^n\right )}{2 n}-\frac {i e^{-i a} x^{m+1} \left (i b x^n\right )^{-\frac {m+1}{n}} \text {Gamma}\left (\frac {m+1}{n},i b x^n\right )}{2 n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2218
Rule 3423
Rubi steps
\begin {align*} \int x^m \sin \left (a+b x^n\right ) \, dx &=\frac {1}{2} i \int e^{-i a-i b x^n} x^m \, dx-\frac {1}{2} i \int e^{i a+i b x^n} x^m \, dx\\ &=\frac {i e^{i a} x^{1+m} \left (-i b x^n\right )^{-\frac {1+m}{n}} \Gamma \left (\frac {1+m}{n},-i b x^n\right )}{2 n}-\frac {i e^{-i a} x^{1+m} \left (i b x^n\right )^{-\frac {1+m}{n}} \Gamma \left (\frac {1+m}{n},i b x^n\right )}{2 n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.22, size = 118, normalized size = 1.08 \[ \frac {i x^{m+1} \left (b^2 x^{2 n}\right )^{-\frac {m+1}{n}} \left ((\cos (a)+i \sin (a)) \left (i b x^n\right )^{\frac {m+1}{n}} \Gamma \left (\frac {m+1}{n},-i b x^n\right )-(\cos (a)-i \sin (a)) \left (-i b x^n\right )^{\frac {m+1}{n}} \Gamma \left (\frac {m+1}{n},i b x^n\right )\right )}{2 n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.57, size = 0, normalized size = 0.00 \[ {\rm integral}\left (x^{m} \sin \left (b x^{n} + a\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m} \sin \left (b x^{n} + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.15, size = 110, normalized size = 1.01 \[ \frac {x^{1+m} \hypergeom \left (\left [\frac {m}{2 n}+\frac {1}{2 n}\right ], \left [\frac {1}{2}, 1+\frac {m}{2 n}+\frac {1}{2 n}\right ], -\frac {x^{2 n} b^{2}}{4}\right ) \sin \relax (a )}{1+m}+\frac {b \,x^{n +m +1} \hypergeom \left (\left [\frac {1}{2}+\frac {m}{2 n}+\frac {1}{2 n}\right ], \left [\frac {3}{2}, \frac {3}{2}+\frac {m}{2 n}+\frac {1}{2 n}\right ], -\frac {x^{2 n} b^{2}}{4}\right ) \cos \relax (a )}{n +m +1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m} \sin \left (b x^{n} + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int x^m\,\sin \left (a+b\,x^n\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m} \sin {\left (a + b x^{n} \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________